package com.gosophia.metadataEngine.dto;

import java.util.Date;

import com.gosophia.commons.DateTranslate;


/**
 * 元数据--MetaDataTableDto类
 * 
 * @author tianchunyu
 * @date 2010-9-19
 */
public class MetaDataTableDto {

    private Long metaDataTableId;
    // 表名称
    private String tableName;
    // 表中文名称
    private String tableNameCN;
    // 实体名称
    private String entityClassName;
    // 版本控制
    private Long version;
    // 数据源id
    private Long dataSourceInfoId;
    // 元数据表描述
    private String decription;
    //创建时间
    private Date createTime;

    public Long getMetaDataTableId() {
        return metaDataTableId;
    }

    public void setMetaDataTableId(Long metaDataTableId) {
        this.metaDataTableId = metaDataTableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableNameCN() {
        return tableNameCN;
    }

    public void setTableNameCN(String tableNameCN) {
        this.tableNameCN = tableNameCN;
    }

    public String getEntityClassName() {
        return entityClassName;
    }

    public void setEntityClassName(String entityClassName) {
        this.entityClassName = entityClassName;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Long getDataSourceInfoId() {
        return dataSourceInfoId;
    }

    public void setDataSourceInfoId(Long dataSourceInfoId) {
        this.dataSourceInfoId = dataSourceInfoId;
    }

	public String getDecription() {
		return decription;
	}

	public void setDecription(String decription) {
		this.decription = decription;
	}

	public Date getCreateTime() {
		return DateTranslate.toSimpleDateYMD(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
// /:~
